package com.aizhixin.lab.project.template.repository;

import com.aizhixin.lab.project.template.entity.ProjectFile;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

public interface ProjectFileRepository extends JpaRepository<ProjectFile,String> {
    Integer deleteByProjectId(String projectId);
    List<ProjectFile> findByProjectIdOrderByCreatedDateAsc(String projectId);
}
